import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '名称',
    align: "center", resizable: true,
    dataIndex: 'name'
  },
  {
    title: '地址',
    align: "center", resizable: true,
    dataIndex: 'address'
  },
  {
    title: '城市',
    align: "center", resizable: true,
    dataIndex: 'city',
  },

  {
    title: '现场联系人',
    align: "center", resizable: true,
    dataIndex: 'managerName'
  },
  {
    title: '现场联系人电话',
    align: "center", resizable: true,
    dataIndex: 'managerPhone'
  },
];

// 高级查询数据
export const superQuerySchema = {
  name: {title: '名称',order: 0,view: 'text', type: 'string',},
  address: {title: '地址',order: 1,view: 'textarea', type: 'string',},
  city: {title: '城市',order: 2,view: 'pca', type: 'string',},
  managerName: {title: '现场联系人',order: 5,view: 'text', type: 'string',},
  managerPhone: {title: '现场联系人电话',order: 6,view: 'text', type: 'string',},
};
